﻿CREATE TABLE [dbo].[ErrorDataLog] (
    [Id]               INT            IDENTITY (1, 1) NOT NULL,
    [InstanceName]     NVARCHAR (255) NULL,
    [DatabaseName]     NVARCHAR (255) NULL,
    [TableName]        NVARCHAR (255) NULL,
    [MessageText]      NVARCHAR (MAX) NULL,
    [LastModifiedDate] DATETIME       CONSTRAINT [DF_ErrorDataLog_LastModifiedDate] DEFAULT (getdate()) NULL,
    CONSTRAINT [PK_ErrorDataLog] PRIMARY KEY CLUSTERED ([Id] ASC)
);



